package com.hedl.classroom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hedl.classroom.model.dto.CourseBaseInfoDto;
import com.hedl.classroom.model.po.CourseBase;

/**
 * <p>
 * 课程基本信息 Mapper 接口
 * </p>
 *
 * @author itcast
 */
public interface CourseBaseMapper extends BaseMapper<CourseBase> {

    /**
     * 连表查询
     * @param courseId  课程id
     * @return  课程基本信息dto
     */
    CourseBaseInfoDto queryCourseBaseAndCourseMarket(Long courseId);

}
